/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package modele;


import java.util.ArrayList;

/**
 *
 * @author taillefe
 */
public class Job {

    private int id;
    private ArrayList<Operation> operations;

    public Job(int id) {
        this.id = id;
        this.operations = new ArrayList<Operation>();
    }

    public void addOperation(Operation o) {
        this.operations.add(o);
    }

    public int getId() {
        return id;
    }

    public ArrayList<Operation> getOperations() {
        return operations;
    }

}
